package com.groupseven.happycampus.mapper;

import com.groupseven.happycampus.common.pojo.Bicycle;
import com.groupseven.happycampus.common.vo.BicycleBrandPieVo;
import com.groupseven.happycampus.common.vo.BicycleColorBarVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BicycleMapper {

    List<Bicycle> bicycleListSelect(Map<String, Object> params);

    int bicycleAdd(Bicycle bicycle);

    int bicycleUpdate(Bicycle bicycle);

    int bicycleDelete(Integer id);

    List<Bicycle> bicycleExcelData(Bicycle bicycle);

    int deleteBicycleByIds(@Param("ids") String[] arrId);

    List<BicycleColorBarVo> colorBarData();

    List<BicycleBrandPieVo> brandPieData();
}
